<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="html-el"  uri="http://struts.apache.org/tags-html-el"%>        
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<script type="text/javascript" src="../../../js/jquery.js"></script>
<script type="text/javascript" src="../../../js/jquery-ui-personalized.min.js"></script>
<script type="text/javascript" src="../js/common.js"></script>
<script type="text/javascript" src="../js/purchaseItem.js"></script>
<link type="text/css" href="../../../style/theme/ui.all.css" rel="stylesheet" />
<link type="text/css" href="../style/style.css" rel="stylesheet"/>
<title>添加新的购置单</title>
</head>
<body>
	<h1>为${student.dormitory.name }增添购置单</h1>
	<html-el:errors/>
	<div class="ajaxMessage"></div>
	<div class="messageDialog" title="提交信息"></div>
	<form action="addPurchaseItem" name="newPurchaseItemForm" method="post">
		<p>
			<span>申请寝室:${student.dormitory.name }</span>
		</p>
		<p>
			<span>申请人:${student.realName }</span>
		</p>
		<div>
			<label for="title">*标题:</label>
			<div><input type="text" name="title" value="${purchaseItemDTO.title }"/></div>
		</div>
		<div>
			<label for="description">*购买原因:</label>
			<div>
				<textarea cols="25" rows="7" name="description" >${purchaseItemDTO.description}</textarea>
			</div>
		</div>
		<div>
			<label for="contactTel">*联系电话</label>
			<div><input type="text" name="contactTel" value="${student.account.telephone}"/></div>
		</div>
		<div>
			<input type="submit" name="submit" value="提交"/>
		</div>
	</form>
</body>
</html>